/*************************************************************************
	> File Name: RandomExp1.java
	> Author: 
	> Mail: 
	> Created Time: 2018年03月26日 星期一 17时49分25秒
 ************************************************************************/
import java.util.*;
public class RandomExp1{
    public static void main(String []args){
        Random num = new Random();
        //int PseudoNumber = num.nextInt(20)-10;
        int PseudoNumber = num.nextInt(29)+1;

        System.out.println("The Random number is :"+PseudoNumber);
        System.out.println("The HextoString is :"+Integer.toHexString(PseudoNumber));

    }
}

